/**
 * Copyright (c) 2015-2030 by Beijing Yanlight Co., Ltd.
 * All rights reserved.
 */
package com.yanlight.app.dal.dao;

import java.util.List;

import com.yanlight.app.dal.dto.AppVersionPageQuery;
import com.yanlight.app.dal.dto.AppVersionUniqueQuery;
import com.yanlight.app.dal.entity.AppVersion;

/**
 * 
 * @author haolw
 * @time 2017/11/22
 */
public interface AppVersionDAO {

	AppVersion findById(Integer id);
	
	int count(AppVersionPageQuery query);
	
	List<AppVersion> findPageList(AppVersionPageQuery query);
	
	AppVersion findUnique(AppVersionUniqueQuery query);
	
	void save(AppVersion version);
	
	void update(AppVersion version);
	
	void delete(Integer id);

}
